package cn.edu.xmist.expression;

import cn.edu.xmist.constant.ConfigConstant;
import cn.edu.xmist.utils.PictureUtil;

/**
 * 草
 */
public class Grass extends AbstractPicture {

	public Grass(int x, int y) {
		super(x, y);
		int[] size = PictureUtil.getImgSize(ConfigConstant.GRASS);
		this.width = size[0];
		this.height = size[1];
	}

	@Override
	protected void draw() {
		PictureUtil.draw(ConfigConstant.GRASS, x, y);

	}
	
	@Override
	protected int getOrder() {
		// TODO 自动生成的方法存根
		return 2;
	}

}
